extends "../yichui-2/yichui-2.gd"

func _extInit():
	._extInit()
	lv = 3             #等级的设置
	addSkill("受到炮击伤害后恢复其伤害量20%的血量", "残心")
	
func _onHurt(atkInfo):
	._onHurt(atkInfo)
	if atkInfo.atkType == sys.AtkType.GUN and not atkInfo.isMiss:
		healCha(self, atkInfo.hurtVal*0.2)